#ifndef KC_DATECOND_H__KC
#define KC_DATECOND_H__KC

#include <boost/date_time/posix_time/posix_time.hpp>
#include "Symbol.h"

namespace kc_sf
{
	class DateCond : public Logic::Symbol
	{
		public:

			explicit DateCond (const boost::posix_time::ptime &from_date,
					const boost::posix_time::ptime &to_date = boost::posix_time::ptime() );

			Logic::Symbol *clone() const;

			bool eval( const Message &msg );

		private:

			boost::posix_time::ptime c_from_date;
			boost::posix_time::ptime c_to_date;
	};
}

#endif /* KC_DATECOND_H__KC */
